<?php

namespace addons\sum\controller;

use app\admin\model\sum\Slideshows as SlideshowsModel;
use addons\sum\service\Withdraw as WithdrawLibrary;

class Slideshows extends Common
{

    protected $noNeedLogin = ['*'];
    protected $noNeedRight = ['*'];

    public function index() 
    {
        $records = SlideshowsModel::field('id,title,slug')->select();
        $this->success('获取成功', $records);
    }
}
